package com.yisu.expressway.api.core.mapper;


import com.yisu.expressway.api.domain.vo.CategoryBannerVo;
import com.yisu.expressway.ewf.entity.CategoryBanner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryBannerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CategoryBanner record);

    CategoryBanner selectByPrimaryKey(Long id);

    int updateByPrimaryKey(CategoryBanner record);

    List<CategoryBannerVo> getCategoryBannerByCategoryCode(@Param("categoryCode") String categoryCode);

}